package org.bob;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.reactive.config.EnableWebFlux;

/**
 * 应用启动类
 */
@Slf4j
@EnableWebFlux
@SpringBootApplication
public class Application {
    public static void main(String[] args){
        System.setProperty("reactor.netty.ioWorkerCount","64");
        log.info("search-rest[{}]应用启动开始",Application.class.getPackage().getImplementationVersion());
        SpringApplication.run(Application.class,args);
        log.info("search-rest[{}]应用启动开始",Application.class.getPackage().getImplementationVersion());
    }
}
